package com.gitee.cui.springcloud.controller;

import javax.annotation.Resource;

import com.gitee.cui.springcloud.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 消息发送controller
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022-03-16 21:49
 **/
@RestController
public class MessageSendController {

	@Resource
	private IMessageProvider messageProvider;

	@GetMapping(value = "/sendMessage")
	public String sendMessage() {
		return messageProvider.send();
	}
}
